home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cchh01.arc
/
NOVELL.H
< prev
next >
Wrap
Text File
|
1986-03-14
|
589b
|
19 lines
/** Novel Variable length call buffers **/
int length;
char tx[300], rx[40];
tx[1] = 0; /* second byte of buffer length */
tx[2] = 19; /* set command into buffer */
tx[3] = handle; /* put handle into buffer */
tx[4] = drive + 'A'; /* convert drive number to alpha */
tx[5] = strlen(path); /* set string length into buffer */
strcpy(&tx[6], path); /* set string into buffer */
length = 4 + tx[5]; /* set up */
movmem(&length, tx, 2); /* length of buffer */
rx[0] = 38; /* set return length */
rx[1] = 0;
novell_function(tx, rx);